% sommonBat

batPath = which('summonBat');
trimPos = regexp(batPath, 'summonBat.m\>');
batPath(trimPos:end) = [];

% addpath([batPath, 'auxil'], '-begin');
% addpath([batPath, 'extern'], '-begin');
addpath([batPath, 'alg'], '-begin');
addpath([batPath, 'core'], '-begin');
addpath([batPath, 'demo'], '-begin');
addpath([batPath, 'dep'], '-begin');
addpath([batPath, 'fetsel'], '-begin');
addpath([batPath, 'lib'], '-begin');
addpath([batPath, 'metric'], '-begin');
addpath([batPath, 'mlabel'], '-begin');
% addpath([batPath, 'misc'], '-begin');
% addpath([batPath, 'resrc'], '-begin');
% addpath([batPath, 'resrc/batds'], '-begin');
% addpath([batPath, 'resrc/rawds'], '-begin');
% addpath([batPath, 'utils'], '-begin');

addSubFolderToPath([batPath, 'dep'], 1);

if exist([batPath, 'dep/weka.jar'], 'file')
    javaaddpath([batPath, 'dep/weka.jar'])
end

% disp('     _/\__/\_     ')
% disp('  __/        \__  ')
% disp(' /    @    @    \ ')
% disp('\/\/\        /\/\/')
% disp('    (_vvvvvv_)    ')
disp('Bat summon succeed.');
